package com.gw.quotes.entity.business;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ProjectListEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 结果码
	 */
	private int result;

	/**
	 * 结果信息
	 */
	private String msg;

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * 项目数据列表
	 */
	private List<ProjectItem> projectlist;

	/**
	 * 重写该方法可以得到需要Object
	 */

	public static class ProjectItem implements Serializable {
		private static final long serialVersionUID = 1L;

		private int havequote;
		/**
		 * 项目商品列表
		 */
		private List<ProjectGood> projectGoodList;
		/**
		 * 项目id
		 */
		private String projectguid;
		/**
		 * 项目编号
		 */
		private String projectcode;
		/**
		 * 项目名称
		 */
		private String projectname;
		/**
		 * 项目类型
		 */
		private int projecttype;
		/**
		 * 购买单位名称
		 */
		private String buyerorgname;
		/**
		 * 商品品目名称
		 */
		private String goodsclassname;
		/**
		 * 采购数量
		 */
		private int qty;
		/**
		 * 报价截止时间
		 */
		private Date endtime;
		/**
		 * 报价供应商数量
		 */
		private int quotationcount;
		/**
		 * 报名单位数量
		 */
		private int orgcount;

		public static class ProjectGood implements Serializable {
			private static final long serialVersionUID = 1L;
			/**
			 * 商品名称
			 */
			private String goodsname;
			/**
			 * 项目id
			 */
			private String projectguid;
			/**
			 * 商品id
			 */
			private String goodsguid;
			/**
			 * 项目商品id
			 */
			private String projectgoodsguid;
			/**
			 * 行情id
			 */
			private String priceguid;
			/**
			 * 协议价
			 */
			private double agreementprice;
			/**
			 * 图片路径
			 */
			private String imgurl;
			/**
			 * 项目配件列表
			 */
			private List<Projectaccessorie> projectaccessorieList;
			/**
			 * 可选配件列表
			 */
			private List<Projectoptional> projectoptionalList;

			/**
			 * 可选配件类
			 */
			public static class Projectoptional implements Serializable {
				private static final long serialVersionUID = 1L;
				/**
				 * 选配id
				 */
				private String projectoptionalguid;
				/**
				 * 选配内容
				 */
				private String goodsoptionalname;
				/**
				 * 差距 decimal
				 */
				private double relativeprice;
				/**
				 * 数量
				 */
				private int qty;

				public String getProjectoptionalguid() {
					return projectoptionalguid;
				}

				public void setProjectoptionalguid(String projectoptionalguid) {
					this.projectoptionalguid = projectoptionalguid;
				}

				public String getGoodsoptionalname() {
					return goodsoptionalname;
				}

				public void setGoodsoptionalname(String goodsoptionalname) {
					this.goodsoptionalname = goodsoptionalname;
				}

				public double getRelativeprice() {
					return relativeprice;
				}

				public void setRelativeprice(double relativeprice) {
					this.relativeprice = relativeprice;
				}

				public int getQty() {
					return qty;
				}

				public void setQty(int qty) {
					this.qty = qty;
				}

			}

			/**
			 * 项目配件类
			 */
			public static class Projectaccessorie implements Serializable {
				private static final long serialVersionUID = 1L;
				/**
				 * 项目配件id
				 */
				private String projectaccessoryguid;
				/**
				 * 项目商品id
				 */
				private String projectgoodsguid;
				/**
				 * 商品名称
				 */
				private String goodsname;
				/**
				 * 协议价
				 */
				private double agreementprice;
				/**
				 * 数量
				 */
				private int qty;
				/**
				 * 图片路径
				 */
				private String imgurl;

				public String getProjectaccessoryguid() {
					return projectaccessoryguid;
				}

				public void setProjectaccessoryguid(String projectaccessoryguid) {
					this.projectaccessoryguid = projectaccessoryguid;
				}

				public String getProjectgoodsguid() {
					return projectgoodsguid;
				}

				public void setProjectgoodsguid(String projectgoodsguid) {
					this.projectgoodsguid = projectgoodsguid;
				}

				public String getGoodsname() {
					return goodsname;
				}

				public void setGoodsname(String goodsname) {
					this.goodsname = goodsname;
				}

				public double getAgreementprice() {
					return agreementprice;
				}

				public void setAgreementprice(double agreementprice) {
					this.agreementprice = agreementprice;
				}

				public int getQty() {
					return qty;
				}

				public void setQty(int qty) {
					this.qty = qty;
				}

				public String getImgurl() {
					return imgurl;
				}

				public void setImgurl(String imgurl) {
					this.imgurl = imgurl;
				}

			}

			public String getGoodsname() {
				return goodsname;
			}

			public void setGoodsname(String goodsname) {
				this.goodsname = goodsname;
			}

			public String getProjectguid() {
				return projectguid;
			}

			public void setProjectguid(String projectguid) {
				this.projectguid = projectguid;
			}

			public String getGoodsguid() {
				return goodsguid;
			}

			public void setGoodsguid(String goodsguid) {
				this.goodsguid = goodsguid;
			}

			public String getProjectgoodsguid() {
				return projectgoodsguid;
			}

			public void setProjectgoodsguid(String projectgoodsguid) {
				this.projectgoodsguid = projectgoodsguid;
			}

			public String getPriceguid() {
				return priceguid;
			}

			public void setPriceguid(String priceguid) {
				this.priceguid = priceguid;
			}

			public double getAgreementprice() {
				return agreementprice;
			}

			public void setAgreementprice(double agreementprice) {
				this.agreementprice = agreementprice;
			}

			public String getImgurl() {
				return imgurl;
			}

			public void setImgurl(String imgurl) {
				this.imgurl = imgurl;
			}

			public List<Projectaccessorie> getProjectaccessorieList() {
				return projectaccessorieList;
			}

			public void setProjectaccessorieList(
					List<Projectaccessorie> projectaccessorieList) {
				this.projectaccessorieList = projectaccessorieList;
			}

			public List<Projectoptional> getProjectoptionalList() {
				return projectoptionalList;
			}

			public void setProjectoptionalList(
					List<Projectoptional> projectoptionalList) {
				this.projectoptionalList = projectoptionalList;
			}

		}

		public List<ProjectGood> getProjectGoodList() {
			return projectGoodList;
		}

		public void setProjectGoodList(List<ProjectGood> projectGoodList) {
			this.projectGoodList = projectGoodList;
		}

		public String getProjectguid() {
			return projectguid;
		}

		public void setProjectguid(String projectguid) {
			this.projectguid = projectguid;
		}

		public String getProjectcode() {
			return projectcode;
		}

		public void setProjectcode(String projectcode) {
			this.projectcode = projectcode;
		}

		public String getProjectname() {
			return projectname;
		}

		public void setProjectname(String projectname) {
			this.projectname = projectname;
		}

		public int getProjecttype() {
			return projecttype;
		}

		public void setProjecttype(int projecttype) {
			this.projecttype = projecttype;
		}

		public String getBuyerorgname() {
			return buyerorgname;
		}

		public void setBuyerorgname(String buyerorgname) {
			this.buyerorgname = buyerorgname;
		}

		public String getGoodsclassname() {
			return goodsclassname;
		}

		public void setGoodsclassname(String goodsclassname) {
			this.goodsclassname = goodsclassname;
		}

		public int getQty() {
			return qty;
		}

		public void setQty(int qty) {
			this.qty = qty;
		}

		public Date getEndtime() {
			return endtime;
		}

		public void setEndtime(Date endtime) {
			this.endtime = endtime;
		}

		public int getQuotationcount() {
			return quotationcount;
		}

		public void setQuotationcount(int quotationcount) {
			this.quotationcount = quotationcount;
		}

		public int getOrgcount() {
			return orgcount;
		}

		public void setOrgcount(int orgcount) {
			this.orgcount = orgcount;
		}

		public int getHavequote() {
			return havequote;
		}

		public void setHavequote(int havequote) {
			this.havequote = havequote;
		}

	}

	public List<ProjectItem> getProjectlist() {
		return projectlist;
	}

	public void setProjectlist(List<ProjectItem> projectlist) {
		this.projectlist = projectlist;
	}

}
